package com.anjbo.dao.app.circle.estatedeal;

import com.anjbo.bean.estatedeal.*;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/3/3.
 */
public interface DealDataMapper {

    List<SZDealDto> szOneHandDataAndAvgPrice(String startDate, String endDate);

    List<SZDealDto> szSecondHandData(String startDate, String endDate);

    List<SZDealDto> szSecondHandDetail(String startDate, String endDate);

    List<DGDealDto> dgDealData(Integer type);

    List<DGDealDto> dgDealDetail(Integer type);

    List<GZDealDto> gzDealData(int i, String startDate, String endDate);

    List<XMDealDto> xmDealData();

    List<HZDealDto> hzDealData(Integer type, String startDate, String endDate);

    Date selectSZMaxDate();

    SZDealDto selectScndTotalNumByMonth(String month);

    List<SZDealDto> selectScndMediumByMonth(String month);

    SZDealDto selectOneTotalNumByMonth(String month);

    List<SZDealDto> selectOneDetailByMonth(String month);

    SZDealDto selectScndTotalNumByDay(String day);


    List<SZDealDto> selectScndMediumByDay(String day);

    SZDealDto selectOneTotalNumByDay(String day);

    List<SZDealDto> selectOneDetailByDay(String day);

    DGDealDto selectDGDealDataByMonthType(String month, int type);

    List<DGDealDto> selectDGDealDetailByMonthType(String month, int type);

    DGDealDto selectDGDealDataByDayType(String day, int type);

    List<DGDealDto> selectDGDealDetailByDayType(String day, int type);

    GZDealDto selectGZDealDataByMonthType(String month, int type);

    List<GZDealDto> selectGZDealDetailByMonthType(String month, int type);

    GZDealDto selectGZDealDataByDayType(String day, int type);

    List<GZDealDto> selectGZDealDetailByDayType(String day, int type);

    HZDealDto selectHZDealDataByMonthType(String month, int type);

    HZDealDto selectHZDealDataByDayType(String day, int type);

    XMDealDto selectXMDealDataByMonthType(String month, int type);

    XMDealDto selectXMDealDataByDayType(String day, int type);

    SZDealDto selectScndTotalNumByMonthExt(String month);

    SZDealDto selectOneTotalNumByMonthExt(String month);

    List<DGDealDto> selectDGMonthData();

    List<DGDealDto> selectDGMonthDetail();

    List<DGDealDto> selectDGDayData();

    List<DGDealDto> selectDGDayDetail();

    List<GZDealDto> selectGZMonthData();

    List<GZDealDto> selectGZMonthDetail();

    List<GZDealDto> selectGZDayData();

    List<GZDealDto> selectGZDayDetail();

    List<HZDealDto> selectHZMonthData();

    List<HZDealDto> selectHZDayData();

    List<XMDealDto> selectXMMonthData();

    List<XMDealDto> selectXMDayData();

    List<SZDealDto> selectSZMonthScndData();

    List<SZDealDto> selectSZMonthScndDetail();

    List<SZDealDto> selectSZDayScndData();

    List<SZDealDto> selectSZDayScndDetail();

    List<SZDealDto> selectSZMonthOneData();

    List<SZDealDto> selectSZMonthOneDetail();

    List<SZDealDto> selectSZDayOneData();

    List<SZDealDto> selectSZDayOneDetail();

    List<SZDealDto> selectSZDataExt(String month, int type);
}
